package com.tao.mvpbase;

import android.os.Bundle;
import android.view.View;

import androidx.annotation.Nullable;
import androidx.fragment.app.DialogFragment;

import com.tao.mvplibrary.mvp.IView;
import com.tao.mvplibrary.mvp.base.BaseDialogFragment;

/**
 * reate by tao on{DATE}
 */
public class TestDialog extends BaseDialogFragment {
    public static TestDialog getInstance() {
        return new TestDialog();
    }

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_main;
    }

    @Override
    protected IView getAttachView() {
        setStyle(DialogFragment.STYLE_NORMAL, 0);

        return super.getAttachView();
    }

    @Override
    public void initData() {
        super.initData();
    }

    @Override
    protected boolean transprentBackground() {
        return false;
    }

 
    @Override
    protected boolean fullScreen() {
        return true;
    }

    @Override
    protected int width() {

        return 200;
    }

    @Override
    protected int height() {
        return 200;
    }

    @Override
    public void onStart() {
        super.onStart();
    }

    @Override
    protected View bindView() {
        return super.bindView();
    }
}
